package cn.wolfcode.service;

import cn.wolfcode.domain.Role;
import cn.wolfcode.qo.PageResult;
import cn.wolfcode.qo.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface IRoleService {

    void delete(Long id);

    void save(Role role, Long[] ids);

    Role get(Long id);

    List<Role> listALL();

    PageResult<Role> query(QueryObject qo);

    void update(@Param("role") Role role, @Param("ids") Long[] ids);
}
